package web.api.global.message;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @author Jin Zheng
 * @since 1.0 2022-01-25
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class ErrorResponse {
	@Schema(description = "错误代码", example = "400000")
	public int code;

	@Schema(description = "错误信息", example = "用户手机号码不能为空")
	public String message;

}
